package com.companion.companion.domain;


import java.util.Date;

/**
 * 陪护服务订单对象 serverorder
 * 
 * @author zly
 * @date 2025-05-06
 */
public class Serverorder
{

    private String caregiverName;
    private String userName;
    /** 订单ID */
    private Long orderId;

    /** 关联的陪护需求ID */
    private Long requestId;

    /** 用户ID */
    private Long userId;

    /** 护工ID */
    private Long caregiverId;

    /** 订单金额 */
    private String amount;

    /** 支付状态(0未支付，1已支付，2已退款) */
    private Long paymentStatus;
    private Date createTime;
    private Date startTime;
    private Date endTime;


    public Serverorder() {
    }

    public Serverorder(String caregiverName, String userName, Long orderId, Long requestId, Long userId, Long caregiverId, String amount, Long paymentStatus, Date createTime, Date startTime, Date endTime) {
        this.caregiverName = caregiverName;
        this.userName = userName;
        this.orderId = orderId;
        this.requestId = requestId;
        this.userId = userId;
        this.caregiverId = caregiverId;
        this.amount = amount;
        this.paymentStatus = paymentStatus;
        this.createTime = createTime;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    /**
     * 获取
     * @return caregiverName
     */
    public String getCaregiverName() {
        return caregiverName;
    }

    /**
     * 设置
     * @param caregiverName
     */
    public void setCaregiverName(String caregiverName) {
        this.caregiverName = caregiverName;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return orderId
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return requestId
     */
    public Long getRequestId() {
        return requestId;
    }

    /**
     * 设置
     * @param requestId
     */
    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return caregiverId
     */
    public Long getCaregiverId() {
        return caregiverId;
    }

    /**
     * 设置
     * @param caregiverId
     */
    public void setCaregiverId(Long caregiverId) {
        this.caregiverId = caregiverId;
    }

    /**
     * 获取
     * @return amount
     */
    public String getAmount() {
        return amount;
    }

    /**
     * 设置
     * @param amount
     */
    public void setAmount(String amount) {
        this.amount = amount;
    }

    /**
     * 获取
     * @return paymentStatus
     */
    public Long getPaymentStatus() {
        return paymentStatus;
    }

    /**
     * 设置
     * @param paymentStatus
     */
    public void setPaymentStatus(Long paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return startTime
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 设置
     * @param startTime
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取
     * @return endTime
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置
     * @param endTime
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String toString() {
        return "Serverorder{caregiverName = " + caregiverName + ", userName = " + userName + ", orderId = " + orderId + ", requestId = " + requestId + ", userId = " + userId + ", caregiverId = " + caregiverId + ", amount = " + amount + ", paymentStatus = " + paymentStatus + ", createTime = " + createTime + ", startTime = " + startTime + ", endTime = " + endTime + "}";
    }
}
